package com.wlyuan.open.scanner.domain.driver;

import com.wlyuan.open.scanner.domain.BaseDomain;
import com.wlyuan.open.scanner.utils.enums.SourceInvalidEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDate;

/**
 * @author lijing
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class Driver extends BaseDomain {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "联系电话")
    private String mobile;

    @ApiModelProperty(value = "出生日期")
    private LocalDate birthday;

    @ApiModelProperty(value = "驾照日期")
    private LocalDate driverLicenseDate;

    @ApiModelProperty(value = "驾驶证类型")
    private Integer driverLicenseType;

    @ApiModelProperty(value = "驾驶证号")
    private String driverLicenseNo;

    @ApiModelProperty(value = "头像")
    private String faceIcon;

    @ApiModelProperty(value = "司机类别")
    private Integer driverType;

    @ApiModelProperty(value = "状态")
    private SourceInvalidEnum driverInvalid;

    private Long createBy;

    private Long updateBy;

    private Long id;

}
